/**
 * Created by dllo on 18/3/30.
 */
public class Question02 {
    public static void main(String[] args) {
        int day = 0;
        int a = 10000;
        while (a>0) {
            day++;
            a /= 2;
        }
        System.out.println("10000元每天花一半," + day + "花完");
    }
}
